<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<!-- 取出部署的应用程序名或者是当前的项目名称 -->
<c:set var="ctx" value="${pageContext.request.contextPath}" />

<!DOCTYPE html>
<html lang="zh-CN" class="no-js">
<head>
    <meta charset="UTF-8">
    <title>新增管理员</title>

    <%@include file="/WEB-INF/jsp/common/component/head.jsp"%>
</head>

<body>
    <%@include file="/WEB-INF/jsp/common/component/navbar.jsp"%>

    <div id="left">
        <%@include file="/WEB-INF/jsp/common/component/userMessage.jsp"%>
        <%@include file="/WEB-INF/jsp/common/component/menu.jsp"%>
    </div><!-- /#left -->

    <div id="wrap">
        <div class="content" >
            <div class="inner">
                <form id="createForm" class="form-horizontal" role="form" >
                    <div class="form-group">                                                                               <!--页头-->
                        <div class="col-sm-12 ">
                            <div class="page-header">
                                <h1>新增管理员</h1>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">                                                                             <!--书名-->
                        <label for="username" class="col-sm-4 control-label">用户名</label>
                        <div class="col-sm-4">
                            <input type="text" class="form-control" id="username" name="username" placeholder="用户名">
                        </div>
                        <div class="col-sm-1">
                            <label>
                                <span class="label label-danger" >*</span>
                            </label>
                        </div>
                        <div class="col-sm-1">
                            <label>
                                <span class="label label-warning" ></span>
                            </label>
                        </div>
                    </div>
                    <br/>
                    <div class="form-group">
                        <label for="password" class="col-sm-4 control-label">密码</label>
                        <div class=" col-sm-4">
                            <input type="password" class="form-control" id="password" name="password" placeholder="密码">
                        </div>
                        <div class="col-sm-1">
                            <label>
                                <span class="label label-danger" >*</span>
                            </label>
                        </div>
                        <div class="col-sm-1">
                            <label>
                                <span class="label label-warning" ></span>
                            </label>
                        </div>
                    </div>
                    <br/>
                    <div class="form-group">
                        <label for="confirmPassword" class="col-sm-4 control-label">确认密码</label>
                        <div class=" col-sm-4">
                            <input type="password" class="form-control" id="confirmPassword" name="confirmPassword" placeholder="再次输入密码">
                        </div>
                        <div class="col-sm-1">
                            <label>
                                <span class="label label-danger" >*</span>
                            </label>
                        </div>
                        <div class="col-sm-1">
                            <label>
                                <span class="label label-warning" ></span>
                            </label>
                        </div>
                    </div>
                    <br/>
                    <br/>
                    <div class="form-group">
                        <div class="col-sm-offset-5 col-sm-3">
                            <button type="submit" class="btn btn-info btn-lg">确定</button>
                            <button type="button" class="btn btn-info btn-lg col-sm-offset-3" onclick="window.history.back()">返回</button>
                        </div>
                    </div>
                </form>
                <br/>
                <br/>
            </div>
        </div><!-- /#content -->
        <%@include file="/WEB-INF/jsp/common/component/footer.jsp"%>
    </div><!-- /#wrap -->
    <%@include file="/WEB-INF/jsp/common/component/foot.jsp"%>

    <script src="${ctx}/assets/js/admin/adminCreate.js"></script>
</body>

</html>